package com.jiangyao.model.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 职位数据
 * </p>
 *
 * @author xiangyan
 * @since 2020-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class JobData extends Model<JobData> {

    private static final long serialVersionUID=1L;

    /**
     * 职位ID
     */
    private Integer jobId;

    /**
     * 观看次数
     */
    private Integer viewNum;

    /**
     * 点赞次数
     */
    private Integer likeNum;

    /**
     * 收藏数
     */
    private Integer collectNum;


    @Override
    protected Serializable pkVal() {
        return this.jobId;
    }

}
